Conversation
|
Preview using JupyterLite: appsharing.space |
|
Integration tests report: appsharing.space |
|
Docs preview: appsharing.space |
brichet
left a comment
There was a problem hiding this comment.
thanks @mfisher87 for working on it.
.pre-commit-config.yaml
Outdated
| rev: v6.2.4 | ||
| hooks: | ||
| - id: rstcheck | ||
| args: ['--config', '.rstcheck.cfg'] |
There was a problem hiding this comment.
I wonder if we should use the command line arguments instead of the config file (there are not too much of it), to avoid adding a new file.
There was a problem hiding this comment.
I have no strong feelings on this :)
rstcheck doesn't have awareness of sphinx-specific directives or extensions.
* Redundant reference "contributing" matches the title of the document. * Change duplicate references named "yarn" to anonymous references. * Fix code block by adding blank line after directive line.
dca25a8 to
1c43ea4
Compare
brichet
left a comment
There was a problem hiding this comment.
Thanks @mfisher87, looks good.
Do you know if there is some automation to run this pre-commit ? I can't find it used anywhere.
|
Thanks for the review! We have pre-commit.ci set up to automate running all pre-commit checks! Here's the run for this PR: https://results.pre-commit.ci/run/github/813604742/1735900723.ZeFeTlxaTOiOWo3rDeXn3Q |
* Add pre-commit check of RST content * Ignore unsupported sphinx directives in rstcheck config file rstcheck doesn't have awareness of sphinx-specific directives or extensions. * Fix rstcheck errors * Redundant reference "contributing" matches the title of the document. * Change duplicate references named "yarn" to anonymous references. * Fix code block by adding blank line after directive line. * Move rstcheck config into pre-commit config --------- Co-authored-by: Nicolas Brichet <32258950+brichet@users.noreply.github.com>
Resolves #272